package com.yisu.auction.api.core.mapper;

import com.yisu.auction.api.domain.request.BasePage;
import com.yisu.auction.api.domain.request.prizePackage.PrizeDetailRequest;
import com.yisu.auction.api.domain.vo.PrizePackageVos.ShowInfoVo;
import com.yisu.auction.api.domain.vo.PrizePackageVos.ShowOrderListVo;
import com.yisu.auction.ewf.entity.Show;

import java.util.List;

public interface ShowMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Show record);

    int insertSelective(Show record);

    Show selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Show record);

    int updateByPrimaryKey(Show record);

    /**
     * author:黄萧林
     * Business Description:获取晒单详情信息
     * @param id
     * @return
     */
    ShowInfoVo getOrderInformation(Long id);

    /**
     * author:黄萧林
     * Business Description:获取我的晒单列表信息
     * @return
     */
    List<ShowOrderListVo> getMineShowOrderList(BasePage basePage);

    /**
     * author:黄萧林
     * Business Description:获取晒单列表信息
     * @param prizeDetailRequest
     * @return
     */
    List<ShowOrderListVo> getShowOrderList(PrizeDetailRequest prizeDetailRequest);
}